package com.youi.entity;

import java.util.Date;
import java.sql.*;


import java.io.Serializable;


/**
 * 用户地址
 * @author XJY
 */
public class Useraddress implements Serializable {

	private Long id;							//ID
	private Date gmtCreated;					//创建时间
	private Integer delStatus;					//删除状态（0否 1是）
	private Long userId;						//用户id
	private Integer defaults;					//默认（0否 1是）
	private String contacts;					//联系人
	private String province;					//省
	private String city;					    //市
	private String districts;				    //区（县）
	private String phone;					    //联系方式
	private String address;					    //具体地址

    public Useraddress(){

    }

    public Useraddress(Long id,Date gmtCreated,Integer delStatus,Long userId) {
       this.id=id;
       this.gmtCreated=gmtCreated;
       this.delStatus=delStatus;
       this.userId=userId;
    }


    public Useraddress(Long id,Date gmtCreated,Integer delStatus,Long userId,Integer defaults,String contacts,String province,String city,String districts,String phone,String address) {
       this.id=id;
       this.gmtCreated=gmtCreated;
       this.delStatus=delStatus;
       this.userId=userId;
       this.defaults=defaults;
       this.contacts=contacts;
       this.province=province;
       this.city=city;
       this.districts=districts;
       this.phone=phone;
       this.address=address;
    }


	public void setId(Long id){
		this.id=id;
	}

	public Long getId(){
		return id;
	}

	public void setGmtCreated(Date gmtCreated){
		this.gmtCreated=gmtCreated;
	}

	public Date getGmtCreated(){
		return gmtCreated;
	}

	public void setDelStatus(Integer delStatus){
		this.delStatus=delStatus;
	}

	public Integer getDelStatus(){
		return delStatus;
	}

	public void setUserId(Long userId){
		this.userId=userId;
	}

	public Long getUserId(){
		return userId;
	}

	public void setDefaults(Integer defaults){
		this.defaults=defaults;
	}

	public Integer getDefaults(){
		return defaults;
	}

	public void setContacts(String contacts){
		this.contacts=contacts;
	}

	public String getContacts(){
		return contacts;
	}

	public void setProvince(String province){
		this.province=province;
	}

	public String getProvince(){
		return province;
	}

	public void setCity(String city){
		this.city=city;
	}

	public String getCity(){
		return city;
	}

	public void setDistricts(String districts){
		this.districts=districts;
	}

	public String getDistricts(){
		return districts;
	}

	public void setPhone(String phone){
		this.phone=phone;
	}

	public String getPhone(){
		return phone;
	}

	public void setAddress(String address){
		this.address=address;
	}

	public String getAddress(){
		return address;
	}

}
